package com.ielts.model;

import vn.com.hoasua.database.adbException;
import vn.com.hoasua.database.adbObject;

@SuppressWarnings("serial")
public class Guild extends adbObject{
	
	public static final String CLASS_UNIQUE="Guild";
	public static final int NUM_FIELDS=1;
	
	public String dataValue;
	
	public Guild(int index, String... values) {
		super(index, values);
		
		try {
			if (values.length != NUM_FIELDS)
				throw new adbException(CLASS_UNIQUE+" length values invalid!");
		} catch (adbException e) {
			e.printStackTrace();
		}
		this.dataValue = values[0];
	}
	@Override
	public String[] getValues() {
		values[0]=dataValue;
		return values;
	}
}
